package com.jinhao.crowd.service.api;


import com.jinhao.crowd.entity.Auth;

import java.util.List;
import java.util.Map;

/**
 * Created on 2021/10/3.
 *
 * @author Valar Morghulis
 */
public interface AuthService {

    List<Auth> getAll();

    List<Integer> getAssignedAuthIdByRoleId(Integer roleId);

    List<String> getAssignedAuthNameByAdminId(Integer adminId);

    void updateRoleAuthRelationship(Map<String, List<Integer>> map);
}
